package com.dhcc.sds.standard.service;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.core.framework.base.service.IBaseService;
import com.dhcc.sds.standard.entity.SdsStandSourceFieldEntity;

/**
 * 数据源输出内容表数据服务层接口
 * 
 * @ClassName: ISdsStandSourceFieldService
 * @Description: TODO
 * @author sunyingjie
 * @date 2021-03-22 10:09:52
 */
public interface ISdsStandSourceFieldService  extends IBaseService<SdsStandSourceFieldEntity> {
	
    List<SdsStandSourceFieldEntity> page(Page<SdsStandSourceFieldEntity> page,Map<String, Object> map);
    List<SdsStandSourceFieldEntity> list(Map<String, Object> map);

    /**
     * 根据数据源查询数据源输出内容
     * @return
     */
    JSONObject getSourceFieldMap(Long sourceId);

    void importEntities(List<List<Object>> all);

    SdsStandSourceFieldEntity selectByDataSourceAndDesc(Long dataSource, String desc);
}
